package com.excesys.exsecs.access.constant.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResponseEnum {

	/**
	 * 操作失败
	 */
	FAILED(0, "操作失败"),

	/**
	 * 操作成功
	 */
	SUCCESS(1, "操作成功"),

	/**
	 * 操作异常
	 */
	EXCEPT(2, "操作异常"),

	/**
	 * 设备离线，无法操作
	 */
	OFFLINE(3, "设备离线，无法操作");

	private final int code;

	private final String name;
}
